package com.avast.personalbudgetapp.presenter.activity;

import android.widget.TextView;

import com.avast.personalbudgetapp.R;

public class MainActivity extends AbstractActivity {
	
	public MainActivity(){
		super(R.layout.fragment_main, R.menu.main);
	}
	
	@Override
	protected void init() {
		
		setContentView(R.layout.fragment_main);
		
		Double sum = appService.getBalance();		
		TextView textViewBalance = (TextView)findViewById(R.id.textViewBalance);
		textViewBalance.setText(String.valueOf(sum));
		
	}

}
